<%--
  Created by IntelliJ IDEA.
  User: stone
  Date: 2022/10/7
  Time: 10:57
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<form action="/upload/file" enctype="multipart/form-data" method="post">
    <%--input标签的name属性，请求参数明--%>
    <input type="file" name="myfile"><br>
    <input type="submit">
</form>
<hr>
上传多个文件 → 可以使用数组
<form action="/upload/files" enctype="multipart/form-data" method="post">
    <%--input标签的name属性，请求参数明--%>
    <input type="file" multiple name="myfiles"><br>
    <input type="submit">
</form>
</body>
</html>
